A Any extension calling the Control Strip
software should be sure that the Control Strip exists and is loaded
before it attempts to make any call to it. Just checking that
Starting with Mac OS 8.5, Control Strip is an application and is
not loaded at startup time. Therefore extensions cannot make Control
Strip calls (such as The proper way for an application or extension to determine if it
is safe to call Control Strip is to use |
static Boolean IsControlStripAvailable (void) { OSStatus err; long response; err = Gestalt (gestaltControlStripAttr, response); if (response & (1 << gestaltControlStripExists)) { // It is safe to call Control Strip return true; } else { // It is not safe to call Control Strip return false; } } |
Technical Q&As
Previous Question | Next Question
Contents
To contact us, please use the Contact Us page.